<template>
  <div class="index">
    <!-- <div></div> -->

    <!-- 二级路由的占位组件 -->
    <router-view></router-view>

    <div class="tabbar">

      <router-link to="/index/first">首页</router-link>
      <router-link to="/index/baobaotuan">爆爆团</router-link>
      <router-link to="/index/detail">订单</router-link>
      <router-link to="/index/mine">我的</router-link>

    </div>
  </div>
</template>

<script>
  export default {
    data(){
      return {
        arr:[]
      }
    },
    mounted(){

    }
  }
</script>

<style lang='scss' scoped>
  .tabbar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid #ccc;
  }
</style>